\hypertarget{duye__thread_8h}{\section{Z\-:/duye/src/duyebase/system/duye\-\_\-thread.h File Reference}
\label{duye__thread_8h}\index{Z\-:/duye/src/duyebase/system/duye\-\_\-thread.\-h@{Z\-:/duye/src/duyebase/system/duye\-\_\-thread.\-h}}
}


duye  


{\ttfamily \#include $<$pthread.\-h$>$}\\*
{\ttfamily \#include $<$duye\-\_\-type.\-h$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classduye_1_1_runnable}{duye\-::\-Runnable}
\begin{DoxyCompactList}\small\item\em be inherited ty user \end{DoxyCompactList}\item 
class \hyperlink{classduye_1_1_thread}{duye\-::\-Thread}
\begin{DoxyCompactList}\small\item\em P\-O\-S\-I\-X thread wrapper. \end{DoxyCompactList}\item 
class \hyperlink{classduye_1_1_thread_task}{duye\-::\-Thread\-Task}
\begin{DoxyCompactList}\small\item\em thread base class, be inherited by user \end{DoxyCompactList}\item 
class \hyperlink{classduye_1_1_thread_util}{duye\-::\-Thread\-Util}
\begin{DoxyCompactList}\small\item\em P\-O\-S\-I\-X thread static A\-P\-I used outside. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{namespaceduye_a87b5896a81f9527fe97aa47a1a1e1945}{typedef void $\ast$($\ast$ {\bfseries duye\-::\-Thread\-Fun\-Point} )(void $\ast$)}\label{namespaceduye_a87b5896a81f9527fe97aa47a1a1e1945}

\begin{DoxyCompactList}\small\item\em the pointer of thread enter \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries Thread\-State} \{ {\bfseries duye\-::\-T\-H\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-R\-U\-N} = 0, 
{\bfseries duye\-::\-T\-H\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-S\-T\-O\-P}, 
{\bfseries duye\-::\-T\-H\-R\-\_\-\-S\-T\-A\-T\-E\-\_\-\-E\-X\-I\-T}
 \}
\begin{DoxyCompactList}\small\item\em thread state \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
duye \begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyDate}{Date}
2013-\/11-\/26 
\end{DoxyDate}
\begin{DoxyNote}{Note}

\end{DoxyNote}

\begin{DoxyEnumerate}
\item 2014-\/01-\/12 duye Add comments
\end{DoxyEnumerate}
\begin{DoxyEnumerate}
\item 2013-\/11-\/26 duye Created this file 
\end{DoxyEnumerate}